#include"SList.h"
void Test()
{
	SListNode* plist = NULL;
	SListInit(&plist);
	SListPushBack(&plist, 1);
	SListPushBack(&plist, 2);
	SListPushBack(&plist, 3);
	SListPushBack(&plist, 4);
	//SListPopBack(&plist);
	//SListPopBack(&plist);
	//SListPopBack(&plist);
	//SListPopBack(&plist);
	//SListPopBack(&plist);
	SListNode* pos = SListFind(plist, 4);
	SListInsertAfter(pos, 11);
	pos = SListFind(plist, 11);
	//SListInsertAfter(pos, 19);
	SListEraseAfter(pos);
	//SListModify(9, pos);
	//SListPushFront(&plist, 1);
	//SListPushFront(&plist, 2);
	//SListPushFront(&plist, 3);
	//SListPushFront(&plist, 4);
	//SListPopFront(&plist);
	//SListPopFront(&plist);
	//SListPopFront(&plist);
	//SListPopFront(&plist);
	SListPrint(plist);
	//SListDestroy(&plist);
	//SListPrint(plist);
}
int main() {
	Test();
	return 0;
}
//#include"SList.h"
//int main() {
//	SListNode* plist;
//	SListInit(&plist);
//	SListPushFront(&plist, 4);
//	SListPushFront(&plist, 4);
//	SListPushFront(&plist, 4);
//	SListPrint(plist);
//	return 0;
//}